import { ref } from 'vue'
import type { XtxGuessInstance } from '@/types/component'

/**
 * 猜你喜欢组合函数
 */
export const useGuessList = () => {
  const guessRef = ref<XtxGuessInstance>()
  const onScrollToLower = () => {
    guessRef.value?.getMore()
  }

  return{
    guessRef,
    onScrollToLower
  }
}
